package org.example.domain;

import java.sql.Date;

public class Student {
    private Long id;
    private String code;
    private String sname;
    private String mnemonic_code;
    private String pass;
    private Integer grade;
    private String major;
    private String class_no;
    private String yuliu1;
    private String yuliu2;
    private String yuliu3;
    private String yuliu4;
    private Date create_time;
    private Date update_time;

    //后续添加的
    private Integer personCount;

    public Integer getPersonCount() {
        return personCount;
    }

    public void setPersonCount(Integer personCount) {
        this.personCount = personCount;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getMnemonic_code() {
        return mnemonic_code;
    }

    public void setMnemonic_code(String mnemonic_code) {
        this.mnemonic_code = mnemonic_code;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getClass_no() {
        return class_no;
    }

    public void setClass_no(String class_no) {
        this.class_no = class_no;
    }

    public String getYuliu1() {
        return yuliu1;
    }

    public void setYuliu1(String yuliu1) {
        this.yuliu1 = yuliu1;
    }

    public String getYuliu2() {
        return yuliu2;
    }

    public void setYuliu2(String yuliu2) {
        this.yuliu2 = yuliu2;
    }

    public String getYuliu3() {
        return yuliu3;
    }

    public void setYuliu3(String yuliu3) {
        this.yuliu3 = yuliu3;
    }

    public String getYuliu4() {
        return yuliu4;
    }

    public void setYuliu4(String yuliu4) {
        this.yuliu4 = yuliu4;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date creat_time) {
        this.create_time = creat_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", sname='" + sname + '\'' +
                ", mnemonic_code='" + mnemonic_code + '\'' +
                ", pass='" + pass + '\'' +
                ", grade=" + grade +
                ", major='" + major + '\'' +
                ", class_no='" + class_no + '\'' +
                ", yuliu1='" + yuliu1 + '\'' +
                ", yuliu2='" + yuliu2 + '\'' +
                ", yuliu3='" + yuliu3 + '\'' +
                ", yuliu4='" + yuliu4 + '\'' +
                ", creat_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }
}
